import Vue from 'vue'
import VueMarkdownEditor from '@kangc/v-md-editor';
import '@kangc/v-md-editor/lib/style/base-editor.css';
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js';
import githubTheme from '@kangc/v-md-editor/lib/theme/github.js';
import '@kangc/v-md-editor/lib/theme/style/github.css';
import App from './App.vue'
import router from './router/index'
import ElementUI from "element-ui"; // 引入Element UI
import 'element-ui/lib/theme-chalk/index.css';
import hljs from 'highlight.js';
import VMdEditor from '@kangc/v-md-editor';
import request from './utils/request';


Vue.config.productionTip = false
Vue.prototype.$axios = request;
Vue.use(ElementUI); // 使用Element UI
Vue.use(VMdEditor);
VueMarkdownEditor.use(vuepressTheme);
VueMarkdownEditor.use(githubTheme, {
  Hljs: hljs,
});



new Vue({
  router,
  render: h => h(App),
}).$mount('#app')